#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "signal_4g.h"
#include <QGridLayout>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    Signal_4G *m_4GICon=new Signal_4G();
    m_4GICon->reStart(true);

    QGridLayout *G_layout=new QGridLayout;
    G_layout->setContentsMargins(0,3,0,3);
    G_layout->addWidget(m_4GICon);

    ui->centralwidget->setStyleSheet(QString::fromUtf8("background-color: rgb(0, 0, 0);"));
    ui->centralwidget->setLayout(G_layout);
}

MainWindow::~MainWindow()
{
    delete ui;
}

